/**
 * Copyright � 2012 GestureSoft. ALL RIGHTS RESERVED.
 * This file contains proprietary and GestureSoft CONFIDENTIAL Information.
 * Use, disclosure or reproduction is prohibited.
 * 
 * @fileName ICardDBMediator.as
 * @creationDate Oct 19, 2012
 * @author GestureSoft
 * @version 1.0
 */
package com.gesturesoft.imultimax.model.cardmanager
{
	import com.gesturesoft.imultimax.model.interfaces.IDatabaseManager;
	import com.gesturesoft.imultimax.model.vo.CardDetailsVO;
	import com.gesturesoft.imultimax.model.vo.CategoryVO;
	
	import mx.collections.ArrayCollection;

	public interface ICardDBManager
	{
		
		function addCard(cardDetailVO:CardDetailsVO):CardDetailsVO;
		function updateCard(cardDetailVO:CardDetailsVO):void;
		function addWalletCategory(categoryVO:CategoryVO):void;
		function setFavourite(cardID:Number):void;
		function setSecondChoice(cardID:Number):void;
		function getWalletCategoryList():XML
		function getCardDetails(type:String):ArrayCollection;
		function getBankDetails():ArrayCollection;
		function deleteCard(cardID:Number):void;
		function getColors():ArrayCollection;
		function updateCardStyle(cardDetailsVO:CardDetailsVO):void;
		function checkCardTemplateVersion(serverCardTemplateVersion:String):Boolean;
		function process(version:String, cardDetailsXMLString:String):void;
		
	}
	
	
}